{"version":3,"file":"saveblock.bundle.map.js","names":["this","BX","Landing","UI","exports","landing_backend","landing_env","landing_imagecompressor","landing_loc","landing_main","landing_screenshoter","landing_ui_card_messagecard","landing_ui_field_textfield","landing_ui_panel_content","main_core","_templateObject","SaveBlock","_Content","babelHelpers","inherits","createClass","key","value","getInstance","instance","id","data","_this","classCallCheck","title","Loc","getMessage","showFromRight","block","possibleConstructorReturn","getPrototypeOf","call","defineProperty","assertThisInitialized","Cache","MemoryCache","mainInstance","Main","Dom","addClass","layout","overlay","setButtons","renderTo","window","parent","document","body","appendFooterButton","Button","BaseButton","text","onClick","onSave","bind","className","hide","getTitleField","cache","remember","TextField","textOnly","getSectionsField","items","_Env$getInstance$getO","Env","getOptions","blocks","Object","keys","map","indexOf","push","name","Field","MultiSelect","getTemplateRefField","Checkbox","getPreviewField","_this2","Image","disableLink","disableAltField","uploadParams","action","content","src","alt","dimensions","width","height","MessageCard","header","description","restoreState","getForm","_this3","Form","BaseForm","fields","getTemplateCode","makeScreenshot","_this4","showLoader","Screenshoter","makeBlockScreenshot","then","sourceFile","ImageCompressor","compress","maxWidth","maxHeight","compressedFile","Backend","upload","temp","response","setValue","hideLoader","show","options","_this$block","_this$block$manifest","_this$block$manifest$","_this$block2","_this$block2$manifest","_this$block2$manifest2","_this$block3","_this$block3$manifest","_this$block4","_this$block4$manifest","_this$block4$manifest2","style","footer","manifest","section","preview","clear","prepend","getLayout","appendForm","get","prototype","getFailMessage","Tag","render","taggedTemplateLiteral","_this$block5","_this$block5$manifest","_this5","backend","getValue","templateRef","length","blockCode","code","sections","lid","meta","Math","max","tpl_code","newBlockId","top","Notification","Center","notify","addNewBlockToCategory","codeOriginal","favorite","favoriteMy","repo_id","repoId","append","Content","Panel","Card"],"sources":["saveblock.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,QAAUF,KAAKC,GAAGC,SAAW,CAAC,EACtCF,KAAKC,GAAGC,QAAQC,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